import API from "./config"
export default {
  queryGoods () {
    return API.get(`/shopping/getShoppingCartList`)
  },

  deleteGoods (id) {
    return API.delete(`/shopping/delete/${id}`)
  },
  
  addShopCart (data) {
    return API.post(`/shopping/saveMany`, data)
  },

  updateGoodsNum (data) {
    return API.put(`/shopping/update`, data)
  }
}